package com.by.heartbeats.nacos;

import com.alibaba.nacos.api.config.ConfigType;
import com.alibaba.nacos.api.config.annotation.NacosConfigurationProperties;
import com.by.toolkit.consts.NacosDataIdConst;
import lombok.Data;
import org.springframework.context.annotation.Configuration;

import java.util.List;


@Data
@Configuration
@NacosConfigurationProperties(prefix = "heartbeats", dataId = NacosDataIdConst.HEART_BEAT, groupId = NacosDataIdConst.HEART_BEAT, type = ConfigType.YAML, autoRefreshed = true)
public class HeartbeatsConfig {

    private List<String> supportEventNames;

}
